home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C02 / all.makefile next >
Encoding:
Makefile  |  2000-05-25  |  2.1 KB  |  99 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C02
  7. # using the all compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f all.makefile
  11.  
  12. .SUFFIXES : .obj .cpp .c
  13. .cpp.obj :
  14.     $(CPP) $(CPPFLAGS) -c $<
  15. .c.obj :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17.  
  18. all: \
  19.     Hello.exe \
  20.     Stream2.exe \
  21.     Concat.exe \
  22.     Numconv.exe \
  23.     Incr.exe \
  24.     Incident.exe \
  25.     HelloStrings.exe \
  26.     Scopy.exe \
  27.     FillString.exe \
  28.     Fillvector.exe \
  29.     GetWords.exe \
  30.     Intvector.exe 
  31.  
  32. test: all 
  33.     Hello.exe  
  34.     Stream2.exe  
  35.     Concat.exe  
  36.     Numconv.exe  
  37.     Incr.exe  
  38.     Incident.exe  
  39.     HelloStrings.exe  
  40.     Scopy.exe  
  41.     FillString.exe  
  42.     Fillvector.exe  
  43.     GetWords.exe  
  44.     Intvector.exe  
  45.  
  46. bugs: 
  47.     @echo No compiler bugs in this directory!
  48.  
  49. Hello.exe: Hello.obj 
  50.     $(CPP) $(OFLAG)Hello.exe Hello.obj 
  51.  
  52. Stream2.exe: Stream2.obj 
  53.     $(CPP) $(OFLAG)Stream2.exe Stream2.obj 
  54.  
  55. Concat.exe: Concat.obj 
  56.     $(CPP) $(OFLAG)Concat.exe Concat.obj 
  57.  
  58. Numconv.exe: Numconv.obj 
  59.     $(CPP) $(OFLAG)Numconv.exe Numconv.obj 
  60.  
  61. Incr.exe: Incr.obj 
  62.     $(CPP) $(OFLAG)Incr.exe Incr.obj 
  63.  
  64. Incident.exe: Incident.obj 
  65.     $(CPP) $(OFLAG)Incident.exe Incident.obj 
  66.  
  67. HelloStrings.exe: HelloStrings.obj 
  68.     $(CPP) $(OFLAG)HelloStrings.exe HelloStrings.obj 
  69.  
  70. Scopy.exe: Scopy.obj 
  71.     $(CPP) $(OFLAG)Scopy.exe Scopy.obj 
  72.  
  73. FillString.exe: FillString.obj 
  74.     $(CPP) $(OFLAG)FillString.exe FillString.obj 
  75.  
  76. Fillvector.exe: Fillvector.obj 
  77.     $(CPP) $(OFLAG)Fillvector.exe Fillvector.obj 
  78.  
  79. GetWords.exe: GetWords.obj 
  80.     $(CPP) $(OFLAG)GetWords.exe GetWords.obj 
  81.  
  82. Intvector.exe: Intvector.obj 
  83.     $(CPP) $(OFLAG)Intvector.exe Intvector.obj 
  84.  
  85.  
  86. Hello.obj: Hello.cpp 
  87. Stream2.obj: Stream2.cpp 
  88. Concat.obj: Concat.cpp 
  89. Numconv.obj: Numconv.cpp 
  90. Incr.obj: Incr.cpp 
  91. Incident.obj: Incident.cpp 
  92. HelloStrings.obj: HelloStrings.cpp 
  93. Scopy.obj: Scopy.cpp 
  94. FillString.obj: FillString.cpp 
  95. Fillvector.obj: Fillvector.cpp 
  96. GetWords.obj: GetWords.cpp 
  97. Intvector.obj: Intvector.cpp 
  98.  
  99.